package com.javalab._7thread._1Create._2Runnable;

public class Test {
    public static void main(String[] args) {
        // 打印当前线程
        System.out.println(Thread.currentThread().getName());

        MyRunnable myRunnable = new MyRunnable();
        Thread thread = new Thread(myRunnable);
        thread.start();
    }
}
